import { createApp } from "vue";

import App from "./App.vue";
import router from "@/router/index";
import pinia from "@/stores/index";
// import "@/mock/index"
import { useMock } from "@/mock/index";

import "@/theme/index.less";
import "@arco-design/web-vue/dist/arco.css";
// 额外引入图标库
import ArcoVueIcon from "@arco-design/web-vue/es/icon";
import ArcoVue from "@arco-design/web-vue";

const app = createApp(App);
useMock()
app.use(pinia);
app.use(router);

app.use(ArcoVue);
app.use(ArcoVueIcon);

app.mount("#app");
